import { NgModule } from '@angular/core';
import { BaseModule } from 'src/app/base.module';
import { DashboardRoutingModule } from './dashboard-routing.module';

import { QuillModule } from 'ngx-quill';

import { components } from './components';

import { HomeComponent } from './home/home.component';
import { DashboardComponent } from './dashboard.component';
import { PersonCenterComponent } from './person-center/person-center.component';
import { OutlayComponent } from './outlay/outlay.component';
import { MapGdComponent } from './map-gd/map-gd.component';
import { EditorComponent } from './editor/editor.component';
import { RxjsComponent } from './rxjs/rxjs.component';
import { AceEditorModule } from 'ng2-ace-editor';
import { ComponentsModule } from '../../components/components.module';

const pages = [
  DashboardComponent,
  HomeComponent,
  PersonCenterComponent,
  OutlayComponent,
  MapGdComponent,
  EditorComponent,
  RxjsComponent,
];

@NgModule({
  declarations: [
    ...pages,
    ...components,
  ],
  imports: [
    DashboardRoutingModule,
    BaseModule,
    QuillModule,
    ComponentsModule,
    AceEditorModule
  ],
})
export class DashboardModule { }
